package jdesktop.appbar;

public enum Orientation
{
    VERTICAL,
    HORIZONTAL;

    public Orientation getOrthogonal()
    {
        return VERTICAL==this ? HORIZONTAL : VERTICAL;
    }

    public boolean isHorizontal()
    {
        return this==HORIZONTAL;
    }
}
